package com.bytezreo.duotai3;

public class GeometricObject    //几何图形
{
	protected  String color;
	protected  double weight;
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
//	public GeometricObject()
//	{
//		
//	}
	public GeometricObject(String color, double weight) {
		super();
		this.color = color;
		this.weight = weight;
	}
	
	
	public double findAre()
	{
	   return 0.0;	
	}
	
}
































































































